package com.ruoyi.project.dict.handwriting.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 书法大全对象 handwriting
 * 
 * @author shixiangwen
 * @date 2020-02-13
 */
public class Handwriting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 字 */
    @Excel(name = "字")
    private String zi;

    /** 字形 */
    @Excel(name = "字形")
    private String type;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 文件 */
    @Excel(name = "文件")
    private String file;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setZi(String zi) 
    {
        this.zi = zi;
    }

    public String getZi() 
    {
        return zi;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setFile(String file) 
    {
        this.file = file;
    }

    public String getFile() 
    {
        return file;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("zi", getZi())
            .append("type", getType())
            .append("author", getAuthor())
            .append("img", getImg())
            .append("createTime", getCreateTime())
            .append("file", getFile())
            .toString();
    }
}
